package com.yh.service;

import com.yh.javabean.Users;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.List;

public interface UsersService  extends UserDetailsService {


    List<Users> findAll();

    List<Users> findAllRole();

    void addUsers(Users users,int roleId);


}